<?php

namespace app\api\controller;

use app\common\controller\Api;
use app\common\model\DeliveryKey;
use app\common\model\xilumarket\Order;

/**
 * 首页接口
 */
class Index extends Api
{
    protected $noNeedLogin = ['*'];
    protected $noNeedRight = ['*'];

    /**
     * 首页
     *
     */
    public function index()
    {
        // DeliveryKey::with([])->find();
        try{
            
        $order = new Order;
        $res = $order->pay_notify('CO202404292147245546', '3456');
        }catch(\Exception $e){
            var_dump($e->getMessage());die;
        }
        var_dump($res);die;
        $this->success('请求成功');
    }
}
